// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 进行全局样式重置(这里之所以可以这样引用是因为我在build/webpack.base.conf.js中配置了)
import 'styles/reset.css'
// border的一像素解决方案
import 'styles/border.css'
// 移动端300毫秒延迟fastclick
import fastClick from 'fastclick'
// 加载图标
import 'styles/iconfont.css'
// 轮播图
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
// 数据共享
import store from './store'
Vue.config.productionTip = false
// 将fastclick用在全局的元素上
fastClick.attach(document.body)
// 全局使用
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router: router,
  store: store,
  components: { App },
  template: '<App/>'
})
